:root {
  --nav-primary: #0f1e38;
  --nav-secondary: #d97328;
  --nav-btn-hover: #f99144;
  --nav-white: #fff;
  --nav-height: 96px;
  --hero-bg-fallback: #123267;
  --hero-accent-blue: #377bed; 
  --hero-cta-bg: #d97328;
  --hero-cta-hover: #f99144;
  --color-black: #000;
  --font-heading: "Playfair Display", serif;
  --font-body: "Open Sans", sans-serif;
  --font-accent: "Georgia", "Times New Roman", serif;
}


body {
  margin: 0;
  font-family: var(--font-body);
}

/* ---------- Global Resets & Layout Common ---------- */
.site-header,
.site-header *,
.hero,
.hero *,
.before-intro,
.before-intro *,
.about-intro,
.about-intro *,
.intro-pledge,
.intro-pledge *,
.awards-memberships,
.awards-memberships *,
.reviews,
.reviews *,
.office,
.office *,
.site-footer,
.site-footer * {
  box-sizing: border-box;
}

/* Common container style for content alignment */
.hero .container,
.reviews-container,
.site-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Common section padding */
.reviews,
.office {
  padding: 2.5rem 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

.hero .container,
.reviews-container,
.site-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}


.reviews,
.office {
  padding: 2.5rem 0;
}

/* NAVIGATION SECTION */

.site-header a {
  text-decoration: none;
}

.site-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header .btn {
  display: inline-block;
  background-color: var(--nav-secondary);
  color: var(--nav-white);
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.site-header .btn:hover {
  background-color: var(--nav-btn-hover);
}

.header-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(
        to bottom,
        #000000 0%,
        #0d0d0d 95%,
        #111111a2 100%
  );
  border-bottom: 1px solid rgba(100, 100, 100, 0.938) ;
  background-position: center;
  background-size: cover;
  padding: 5px 0 8px;
}

.header-main.is-scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-spacer {
  width: 100%;
  height: var(--nav-height);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.navbar-brand-col {
  order: 1;
  flex: 0 0 66.66%;
  max-width: 66.66%;
}

.navbar-brand {
  display: inline-block;
}

.navbar-brand img {
  max-width: 80px;
  border-radius: 40px;
  height: auto;
  margin-bottom: -40px;
}

.firm-logo {
  max-width: 170px;
  height: auto;
  position: relative;
  top: 20px;
  
}

.navbar-toggler {
  order: 2;
  margin-left: auto;
  background: transparent;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  position: relative;
  z-index: 1060;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 26px;
  height: 20px;
  position: relative;
}

.navbar-toggler-icon .bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--nav-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.bar-top {
  top: 0;
}

.bar-mid {
  top: 50%;
  transform: translateY(-50%);
}

.bar-bottom {
  top: 100%;
  transform: translateY(-100%);
}

.navbar-toggler[aria-expanded="true"] .bar-top {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .bar-mid {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .bar-bottom {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.navbar-menu-col {
  order: 3;
  flex: 0 0 100%;
  max-width: 100%;
}

.navbar-collapse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.navbar-nav {
  display: none;
  width: 100%;
  flex-wrap: wrap;
}

.navbar-nav.show {
  display: flex;
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-item a i{
  margin-left: 1px;
  font-size: 11px;
}

.nav-link,
.dropdown-toggle {
  display: inline-block;
  padding: 1rem 0.5rem;
  color: var(--nav-white);
  font-family: var(--font-accent);
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
}

.has-dropdown .dropdown-toggle {
  position: relative;
  padding: 1rem 1.5rem 1rem 0;
}

.dropdown-menu {
  display: none;
  min-width: 220px;
  padding: 0;
  border: 0;
  background-color: var(--color-black);
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-accent);
  color: var(--nav-white) !important;
  background-color: var(--nav-secondary);
  border-bottom: 1px solid #ccc;
}

.dropdown-item:hover,
.dropdown-item.current {
  background-color: var(--color-black);
  color: var(--nav-white) !important;
}


/* HERO SECTION */

.hero {
  display: block;
  color: #fff;
  background: linear-gradient(
      to bottom,
      #000000 0%,
      #0d0d0d 40%,
      #ffffff 100%
  );
  background-repeat: no-repeat;
  background-size: cover;
}

.hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

/* LEFT SIDE OF HERO SECTION */

.contact-card {
  flex: 1;
  max-width: 560px;
  padding: 100px 0 220px 50px;
  font-family: var(--font-body);
}

.contact-card h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.social-icons {
  display: flex;
  gap: 18px;
  margin-bottom: 40px;
}

.social-icons a {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #f99144;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: .3s;
}

.social-icons a:hover {
  background: #be7237;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item i {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #f99144;
  flex-shrink: 0;
}

.contact-item span {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.6;
}

.address span {
  line-height: 1.6;
}

/* RIGHT SIDE OF HERO SECTION*/

.hero-img-guy {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-img {
  max-width: 100%;
  height: auto;
  margin-top: -50px;
  -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
}

/* BADGE SECTION */
.badges {
  padding: 40px 0;
}

.badges-heading {
  margin: 0 0 20px;
  text-align: center;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badges-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.badge-item {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding: 1rem;
}

.badge-item img {
  width: auto;
  max-width: 100%;
  transition: filter 0.2s ease;
}




/* BEFORE INTRO OF HERO SECTION*/

.before-intro{
  text-align: justify;
  width: 65%;
  margin: 0 auto;
}

.before-intro h2{
  text-align: left;
  font-size: 35px;
  margin: 0 0 20px;
}   

.before-intro p{
  font-size: 18px;
  line-height: 30px;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
}

/* INTRO OF HERO SECTION*/

.about-intro, .intro-pledge{
  text-align: justify;
  width: 65%;
  margin: 40px auto 5px;
}

.about-intro-text h2, .intro-pledge-text h2{
  text-align: left;
  font-size: 35px;
  margin: 0 0 20px;
}

.about-intro-text p, .intro-pledge-text p{
  font-size: 18px;
  line-height: 30px;
  margin: 15px auto;
  padding: 0;
  font-family: var(--font-body);
}

/* AWARDS SECTION*/

.awards-memberships {
  max-width: 65%;
  margin: 70px auto;
  padding: 0 20px;
  font-family: var(--font-body);
}

.section-block {
  margin-bottom: 55px;
}

.section-block h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  line-height: -0.5;
}

.section-block ul {
  list-style-position: outside;
  text-align: left;
  padding-left: 40px;
  margin: 0;
  font-family: var(--font-body);
    
}

.section-block li {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.1;
  margin-bottom: 12px;
  font-family: var(--font-body);
}

.section-block strong {
  font-weight: 600;
}

.membership-list a {
  color: #c47b1c;
  text-decoration: none;
  font-weight: 500;
  font-family: var(--font-body);
}

.membership-list a:hover {
  text-decoration: underline;
}


/* REVIEWS SECTION */

.reviews {
  text-align: center;
}

.reviews-eyebrow {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 22px;
  color: #377bed; 
  margin: 0 0 5px;
}

.reviews-heading {
  font-size: 35px;
  margin: 0 0 55px;
}

.reviews-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.review-card {
  text-align: left;
  padding: 0 40px 100px;
  border-right: 0.5px solid #ccced3;
  border-image: linear-gradient(35deg, #123267, #fff) 1;
}

.review-card:first-child {
  border-left: 0.5px solid #123267;
}

.review-card h3 {
  font-size: 20px;
  line-height: 32px;
  margin: 0;
}

.review-card .five-stars {
  display: flex;
  margin: 5px 0 18px;
  column-gap: 2px;
  color: #d97328; 
}

.review-card .five-stars i {
  font-size: 13px;
}

.review-card p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 18px;
  line-height: 30px;
  margin: 0;
}

/* ---------- Reviews Carousel (mobile) ---------- */

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews-viewport {
  overflow: hidden;
  width: 100%;
}

.review-nav {
  display: none; 
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--nav-primary);
  color: var(--nav-white);
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 30, 56, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.review-nav:hover {
  background: var(--nav-secondary);
  transform: translateY(-2px);
}

.review-nav:active {
  transform: translateY(0);
}

.reviews-dots {
  display: none; 
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.reviews-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d9d9d9;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.reviews-dots .dot.active {
  background: var(--nav-secondary);
  transform: scale(1.25);
}


/* OFFICE SECTION */
.office-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

.office-heading {
  margin: 0 0 10px;
  text-align: center;
  font-size: 40px;
}

.office-subtext {
  font-family: var(--font-body);
  color: #0f1e38; 
  font-size: 20px;
  line-height: 28px;
  text-align: center;
}

.office-nb{
  font-style: italic;
  font-weight: bold;
}

.office-subtext p {
  margin: 0;
}

.office-divider {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 20px 0 30px;
}

.office-card {
  text-align: left !important;
  padding: 20px;
  background-color: #f8f9fb;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.office-card h3 {
  font-size: 28px;
  line-height: 32px;
  margin: 0 0 12px;
}

.office-card p {
  font-family: var(--font-body);
  margin: 0 0 10px;
}

.office-directions {
  color: #ff6200;
  text-decoration: none;
}

.office-directions:hover {
  text-decoration: underline;
}

.office-map {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
  margin-top: 15px;
}

/* FOOTER SECTION */
.site-footer {
  position: relative;
  color: #fff;
    background: linear-gradient(
        to bottom,
        #000000 0%,
        #0d0d0d 95%,
        #111111a2 100%
  );
  background-position: center;
  background-size: cover;
  padding-top: 50px;
  padding-bottom: 20px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.footer-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
}

.footer-logo img {
  display: block;
  max-width: 195px;
  height: auto;
  width: 60px;
}

.footer-nav {
  flex: 1;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 30px;
}

.footer-nav a {
  display: inline-block;
  padding: 10px 0;
  font-family: var(--font-accent);
  font-size: 20px;
  line-height: 27px;
  font-weight: bold;
}

.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 15px;
  padding-top: 25px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-copyright {
  font-family: var(--font-body);
  margin: 0;
  font-size: 15px;
  line-height: 27px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  background-color: #f99144;
}

.footer-socials a i {
  font-size: 20px;
}


/* ---------- min-width: 992px ---------- */
@media (min-width: 992px) {
  
  .navbar-toggler {
    display: none;
  }

  .navbar-nav {
    display: flex;
    width: auto;
  }

  .nav-link,
  .dropdown-toggle {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: -0.5px;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 25px;
  }

  .has-dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* ---------- min-width: 2000px ---------- */
@media (min-width: 2000px) {
  
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}

/* ---------- max-width: 1199px ---------- */
@media (max-width: 1199px) {
  
  .contact-card h1 {
    font-size: 2.8rem;
  }

  .badge-item-1{
    display: none;
  }

  .contact-card {
    padding: 90px 0 180px 40px;
  }

  .footer-logo img {
    margin: -20px auto 15px;
  }
}

/* ---------- max-width: 991px ---------- */
@media (max-width: 991px) {
  
  .navbar-nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--nav-height));
    height: auto;
    margin: 0;
    padding: 20px;
    background-color: var(--color-black);
    flex-direction: column;
    overflow-y: auto;
    z-index: 1050;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    
    letter-spacing: -0.5px;
    font-family: var(--font-accent);
  }


  .dropdown-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
  }

  .dropdown-menu.show {
    position: static;
    width: 100%;
    margin-bottom: 0;
  }

  .dropdown-item {
    padding: 5px 18px;
    text-transform: capitalize;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 0 20px;
  }

  .contact-card {
    max-width: 100%;
    width: 100%;
    padding: 60px 0 20px;
  }

  .social-icons {
    justify-content: center;
  }

  .contact-info {
    align-items: flex-start;
    margin: 0 auto;
    width: fit-content;
  }

  .contact-item {
    justify-content: flex-start;
    text-align: left;
  }

  .hero-img-guy {
    justify-content: center;
    width: 100%;
  }

  .hero-img {
    max-width: 340px;
    margin-top: -40px;
  }

  .before-intro,
  .about-intro,
  .intro-pledge,
  .awards-memberships {
    width: 85%;
    max-width: 85%;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  
  .site-footer {
    padding-top: 60px;
  }

  .footer-top-row {
    justify-content: center;
    text-align: center;
  }

  .footer-logo img {
    margin: -20px auto 15px;
  }

  .footer-nav ul {
    justify-content: center;
  }
}

/* ---------- max-width: 767px ---------- */
@media (max-width: 767px) {
  
  .contact-card h1 {
    font-size: 2.2rem;
  }

  .contact-card h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }

  .contact-item span {
    font-size: 1rem;
  }

  .hero-img {
    max-width: 280px;
  }

  .before-intro h2,
  .about-intro-text h2,
  .intro-pledge-text h2 {
    font-size: 28px;
  }

  .before-intro h2{
    margin-top: 40px;
  }

  .before-intro p,
  .about-intro-text p,
  .intro-pledge-text p {
    font-size: 16px;
  }

  .section-block ul {
    padding-left: 24px;
  }

  .review-nav {
    display: flex;
  }

  .reviews-dots {
    display: flex;
  }

  .reviews-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: unset;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
  }

  .review-card {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    border: 0;
    padding: 10px 15px 0;
  }

  .review-card:first-child {
    border: 0;
  }

  .review-card .five-stars {
    justify-content: center;
  }

  .review-card p {
    font-size: 16px;
    line-height: 22px;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
  }

  .office-card h3 {
    font-size: 25px;
    line-height: 30px;
  }

  .footer-nav a {
    font-size: 18px;
    padding: 10px;
  }

  .footer-top-row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    margin-bottom: 5px;
  }

  .footer-logo img {
    margin: -20px auto 15px;
  }

  .footer-nav {
    margin-top: -40px;
  }

  .footer-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .footer-bottom-row {
    justify-content: center;
    text-align: center;
  }

  .footer-copyright {
    text-align: center;
    width: 100%;
  }

  .footer-socials {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ---------- max-width: 575px ---------- */
@media (max-width: 575px) {
  
  .firm-logo {
    position: relative;
    top: -20px;
    left: -10px;
    width: 50px;
  }
  
  .contact-card h1 {
    font-size: 1.8rem;
  }

  .contact-card h3 {
    font-size: 1rem;
  }

  .social-icons a {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .contact-item i {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .hero-img {
    max-width: 220px;
  }
  
  .before-intro,
  .about-intro,
  .intro-pledge,
  .awards-memberships {
    width: 92%;
    max-width: 92%;
  }

  .before-intro p,
  .about-intro-text p,
  .intro-pledge-text p {
    font-size: 15px;
  }

  .section-block li {
    font-size: 1rem;
  }

  .badges-heading {
    font-size: 15px;
  }

  .badge-item img {
    max-width: 80px;
  }

  
  .office-subtext {
    font-size: 16px;
    line-height: 20px;
  }
}